package com.common.platform.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.common.platform.sys.base.pojo.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_dept")
public class Dept extends BaseEntity {

    @TableId(value = "dept_id",type = IdType.ASSIGN_ID)
    private Long deptId;

    @TableId("pid")
    private Long pid;

    @TableId("pids")
    private String pids;


    @TableId("simple_name")
    private String simpleName;

    @TableId("full_name")
    private String fullName;

    @TableId("description")
    private String  description;

    @TableId("version")
    private Integer version;

    @TableId("sort ")
    private Integer sort;



}
